cmake_minimum_required(VERSION 3.17)

project(lua_embed)

set(CMAKE_CXX_STANDARD 14)

option(LIBRARY_TYPE_STATIC "static lib" ON)

SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb ")#就是这两行东东
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")#

add_subdirectory(src)